/*
 * RedPacketUsedListItem.java
 * business
 *
 * Created by SunDing on 2017/2/15.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Coupon;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.RedPacketUsedHolder;

/** 已使用红包 ListItem */
public class RedPacketUsedListItem extends DisplayListItem<RedPacketUsedHolder, Coupon> {

    public RedPacketUsedListItem(Coupon s) {
        super(s);
    }

    @Override
    public void onShow(Context context, RedPacketUsedHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return RedPacketUsedListItem.class.getSimpleName();
    }

    @Override
    public Class<RedPacketUsedHolder> getViewHolderClazz() {
        return RedPacketUsedHolder.class;
    }
}
